using ilgolosone.Shared;
using Microsoft.Practices.Unity;

namespace ilgolosone.DependencyResolver.Unity
{
    public class UnityBootstrapper : IBootstrapper
    {
        public void Init()
        {
            IUnityContainer container = new UnityContainer();
            container.ConfigureWithRegistry(new DefaultRegistry());
            Shared.IoC.DependencyResolver.InitializeWith(new UnityDependencyResolver(container));
        }
    }
}